package teamGiga.bean;

public class QnaBean {
	private int qnano;
	private int mbno;
	private String nickname;
	private String qnatitle;
	private String qnacontents;
	private int qnahit;
	private String qnaregdate;
	public QnaBean() {
		super();
	}
	public QnaBean(int qnano, int mbno, String nickname, String qnatitle,
			String qnacontents) {
		super();
		this.qnano = qnano;
		this.mbno = mbno;
		this.nickname = nickname;
		this.qnatitle = qnatitle;
		this.qnacontents = qnacontents;
		
	}
	public QnaBean(int qnano, int mbno, String qnatitle,
			String qnacontents) {
		super();
		this.qnano = qnano;
		this.mbno = mbno;		
		this.qnatitle = qnatitle;
		this.qnacontents = qnacontents;
		
	}
	public int getQnano() {
		return qnano;
	}
	public void setQnano(int qnano) {
		this.qnano = qnano;
	}
	public int getMbno() {
		return mbno;
	}
	public void setMbno(int mbno) {
		this.mbno = mbno;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getQnatitle() {
		return qnatitle;
	}
	public void setQnatitle(String qnatitle) {
		this.qnatitle = qnatitle;
	}
	public String getQnacontents() {
		return qnacontents;
	}
	public void setQnacontents(String qnacontents) {
		this.qnacontents = qnacontents;
	}
	public int getQnahit() {
		return qnahit;
	}
	public void setQnahit(int qnahit) {
		this.qnahit = qnahit;
	}
	public String getQnaregdate() {
		return qnaregdate;
	}
	public void setQnaregdate(String qnaregdate) {
		this.qnaregdate = qnaregdate;
	}
	@Override
	public String toString() {
		return "QnaBean [qnano=" + qnano + ", mbno=" + mbno + ", nickname="
				+ nickname + ", qnatitle=" + qnatitle + ", qnacontents="
				+ qnacontents + ", qnahit=" + qnahit + ", qnaregdate="
				+ qnaregdate + "]";
	}
	
	

}
